package com.happycat.mobile.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * Module: CatTeamCategory.java
 *
 * @author liaoyong
 * @since JDK 1.8
 * @version 1.0
 * @date 2020-08-01
 * @Descriptions:
 */
@Data
@TableName(value = "cat_team_category")
@ApiModel
public class CatTeamCategory {

	@TableField("name")
    @ApiModelProperty("品类分组名")
	private String name;
	
	
	@TableField("icon")
    @ApiModelProperty("品类分组图标")
	private String icon;
	
	
	@TableField("create_by")
    @ApiModelProperty("品类分组创建人")
	private String createBy;
	
	
	@TableField("status")
    @ApiModelProperty("品类分组状态")
	private Integer status;

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "最后修改时间")
    @TableField(value = "update_time")
    private Date updateTime;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "create_date")
    private Date createDate;
}